/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package videoComponents;

import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import javax.swing.JFrame;

/**
 *
 * @author Alex
 */
public class VideoFrame extends JFrame {

    BufferedImage bufImage = new BufferedImage(100, 100, BufferedImage.TYPE_INT_ARGB);
    Image m_image = null;

    public VideoFrame() {
       m_image = java.awt.Toolkit.getDefaultToolkit().getImage("D:\\pix\\180004_177692212266911_100000784007548_338235_2289551_n.jpg");
    }

    public void drawImage()
    {

    }


    @Override
    public void paintComponents(Graphics g) {
        super.paintComponents(g);
    }

    @Override
    public void paint(Graphics g) {
        super.paint(g);
        g.drawImage(m_image, 100, 100, this);
    }

    
}
